<?php

namespace tbollmeier\kakuromaster\core;

class CellFactory
{
    public function createCell($row, $col, $values=[1, 2, 3, 4, 5, 6, 7, 8, 9])
    {   
        $cell = new Cell($this->currId, $row, $col, $values);
        $this->cells[$this->currId] = $cell;
        $this->currId++;
        
        return $cell;
    }
    
    private $currId = 1;
    private $cells = [];
}